body{
    background-color: #000;

}
h1  ,p{
    margin: 0;
    padding: 0;
}
/*媒介查询*/
@media screen and (min-width: 1200px){
    h1{
        color:blue;
    }
    .wrapper{
        width: 1328px;
        margin: 0 auto ;
        background-color: white;
    }
    .header{
        width: 1328px;
        margin: 0 auto;
        background-color: #c82333;
    }
    .main{
        width: 1328px;
        margin: 0 auto;
    }
    .footer{
        width: 1328px;
        margin: 0 auto;
        background-color: chartreuse;
        min-height: 80px;
    }
    .sidebar{
        float: left;
        width: 245px;
        margin-right: 5px;
        background-color: chocolate;
        min-height: 600px;
    }
    .content{
        float: left;
        width: 1078px;
        background-color: aquamarine;
        min-height: 600px;
    }
}
@media screen and (min-width: 980px) and (max-width:1198px) {
    h1  {
        color: purple;
    }

}
@media screen and (min-width: 768px) and (max-width:979px) {
    h1  {
        color: coral;
    }

}
@media screen and (min-width: 480px) and (max-width:767px) {
    h1  {
        color: crimson;
    }

}
@media screen  and (max-width:479px) {
    h1  {
        color: darkgreen;
    }

}